package org.dromara.run.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.run.domain.Rule;
import org.dromara.run.domain.Schedule;
import org.dromara.run.domain.bo.ScheduleBo;
import org.dromara.run.domain.vo.RuleVo;
import org.dromara.run.domain.vo.ScheduleVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 阳光跑计划表Mapper接口
 *
 * @author chl
 * @date 2024-08-30
 */
public interface ScheduleMapper extends BaseMapperPlus<Schedule, ScheduleVo> {
    Page<ScheduleVo> selectScheduleList(@Param("page") Page<Schedule> page, @Param(Constants.WRAPPER) Wrapper<Schedule> queryWrapper, @Param("bo")ScheduleBo bo);
    List<ScheduleVo> selectScheduleList(@Param(Constants.WRAPPER) Wrapper<Schedule> queryWrapper);
}
